package com.credithc.customers.base.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.sql.Timestamp;

/**
 * @author zhukai
 * @date 2018/11/28 9:50
 */
@Data
@Table(name = "cust_account_info")
public class CustomerAccountPo extends CustomerBasePo {

    @Column(name = "customer_no")
    private String customerNo;

    @Column(name = "user_source_id")
    private String userSourceId;

    @Column(name = "account_no")
    private String accountNo;

    @Column(name = "account_type")
    private String accountType;

    @Column(name = "account_status")
    private Integer accountStatus;

    @Column(name = "system_sign")
    private String systemSign;

    @Column(name = "sub_system_sign")
    private String subSystemSign;

    @Column(name = "update_time")
    private Timestamp updateTime;

    @Column(name = "account_create_time")
    private Timestamp accountCreateTime;

    @Column(name = "account_update_time")
    private Timestamp accountUpdateTime;

    @Transient
    private String customerName;

}
